import request from '@/utils/request'

// 创建新人专区
export function createServiceInfofive(data) {
  return request({
    url: '/system/service-infofive/create',
    method: 'post',
    data: data
  })
}

// 更新新人专区
export function updateServiceInfofive(data) {
  return request({
    url: '/system/service-infofive/update',
    method: 'put',
    data: data
  })
}

// 删除新人专区
export function deleteServiceInfofive(id) {
  return request({
    url: '/system/service-infofive/delete?id=' + id,
    method: 'delete'
  })
}

// 获得新人专区
export function getServiceInfofive(id) {
  return request({
    url: '/system/service-infofive/get?id=' + id,
    method: 'get'
  })
}

// 获得新人专区分页
export function getServiceInfofivePage(params) {
  return request({
    url: '/system/service-infofive/page',
    method: 'get',
    params
  })
}
// 导出新人专区 Excel
export function exportServiceInfofiveExcel(params) {
  return request({
    url: '/system/service-infofive/export-excel',
    method: 'get',
    params,
    responseType: 'blob'
  })
}